package com.hjj.web.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author: luoyajun
 * @date: 2020/4/17 9:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("WebSocket例子请求参数")
public class WebSocketDemoQueryDTO {
    @ApiModelProperty("名字")
    private String name;

    @ApiModelProperty(value = "发送人")
    private String sendName;

    @ApiModelProperty("消息")
    private String message;

    public WebSocketDemoQueryDTO(String name, String message) {
        this.name = name;
        this.message = message;
    }
}
